.class Lcom/jecelyin/editor/v2/ui/g$c;
.super Landroid/database/DataSetObserver;
.source "TabManager.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/jecelyin/editor/v2/ui/g;->g()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/jecelyin/editor/v2/ui/g;


# direct methods
.method constructor <init>(Lcom/jecelyin/editor/v2/ui/g;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/jecelyin/editor/v2/ui/g$c;->a:Lcom/jecelyin/editor/v2/ui/g;

    invoke-direct {p0}, Landroid/database/DataSetObserver;-><init>()V

    return-void
.end method


# virtual methods
.method public onChanged()V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/jecelyin/editor/v2/ui/g$c;->a:Lcom/jecelyin/editor/v2/ui/g;

    invoke-static {v0}, Lcom/jecelyin/editor/v2/ui/g;->b(Lcom/jecelyin/editor/v2/ui/g;)V

    .line 2
    iget-object v0, p0, Lcom/jecelyin/editor/v2/ui/g$c;->a:Lcom/jecelyin/editor/v2/ui/g;

    invoke-static {v0}, Lcom/jecelyin/editor/v2/ui/g;->c(Lcom/jecelyin/editor/v2/ui/g;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/jecelyin/editor/v2/ui/g$c;->a:Lcom/jecelyin/editor/v2/ui/g;

    invoke-static {v0}, Lcom/jecelyin/editor/v2/ui/g;->d(Lcom/jecelyin/editor/v2/ui/g;)Lcom/jecelyin/editor/v2/adapter/EditorAdapter;

    move-result-object v0

    invoke-virtual {v0}, Lcom/jecelyin/editor/v2/adapter/EditorAdapter;->getCount()I

    move-result v0

    if-nez v0, :cond_0

    .line 3
    iget-object v0, p0, Lcom/jecelyin/editor/v2/ui/g$c;->a:Lcom/jecelyin/editor/v2/ui/g;

    invoke-virtual {v0}, Lcom/jecelyin/editor/v2/ui/g;->f()V

    :cond_0
    return-void
.end method
